import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { PerformanceComponent } from "./performance.component";
import { PowerChangeComponent } from "./power-change/power-change.component";
import { PowerCompareComponent } from "./power-compare/power-compare.component";
import { FarmPowerAssessComponent } from "./farm-power-assess/farm-power-assess.component";
import { PowerAssessComponent } from "./power-assess/power-assess.component";
import { PowerDrawComponent } from "./power-draw/power-draw.component";
import { PerformanceListComponent } from "./performance-list/performance-list.component";
import { WindPowerCompareComponent } from "./wind-power-compare/wind-power-compare.component";

const routes: Routes = [
  {
    path: "", component: PerformanceComponent, children:
    [
      { path: "compare", component: PowerCompareComponent },
      { path: "change", component: PowerChangeComponent },
      { path: "farmpowerassess", component: FarmPowerAssessComponent },     
      { path: "powerassess", component:PowerAssessComponent },   
      { path: "draw", component:PowerDrawComponent },
      { path: "performancelist",component: PerformanceListComponent },       
      { path: "windpowercompare",component: WindPowerCompareComponent }, 
        
    ]
  },

];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class PerformanceRoutingModule { }



// WEBPACK FOOTER //
// ./src/app/module/performance/performance-routing.module.ts